transcript on
if {[file exists rtl_work]} {
	vdel -lib rtl_work -all
}
vlib rtl_work
vmap work rtl_work

vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/src {D:/AllFile/DeskTop/vga_ljf_hc04/src/distance_drive.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/src {D:/AllFile/DeskTop/vga_ljf_hc04/src/clk_div.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/src {D:/AllFile/DeskTop/vga_ljf_hc04/src/all_top.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/src {D:/AllFile/DeskTop/vga_ljf_hc04/src/seg_driver.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/src {D:/AllFile/DeskTop/vga_ljf_hc04/src/beepled.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/src {D:/AllFile/DeskTop/vga_ljf_hc04/src/key_debounce.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/src {D:/AllFile/DeskTop/vga_ljf_hc04/src/data_drive.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/src {D:/AllFile/DeskTop/vga_ljf_hc04/src/vga_dirve.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/ip {D:/AllFile/DeskTop/vga_ljf_hc04/ip/pll.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/ip/hc-sr04 {D:/AllFile/DeskTop/vga_ljf_hc04/ip/hc-sr04/warning_rom.v}
vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/prj/db {D:/AllFile/DeskTop/vga_ljf_hc04/prj/db/pll_altpll.v}

vlog -vlog01compat -work work +incdir+D:/AllFile/DeskTop/vga_ljf_hc04/prj/../sim {D:/AllFile/DeskTop/vga_ljf_hc04/prj/../sim/vga_top_tb.v}

vsim -t 1ps -L altera_ver -L lpm_ver -L sgate_ver -L altera_mf_ver -L altera_lnsim_ver -L cycloneive_ver -L rtl_work -L work -voptargs="+acc"  vga_top_tb

add wave *
view structure
view signals
run -all
